package com.qk.vo.business;

import com.qk.entity.Business;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BusinessByIdVO extends Business {
    private List<BusinessByIdTrackRecordsVO> trackRecords;

    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public static class BusinessByIdTrackRecordsVO {
        private Integer id;
        private Integer businessId;
        private Integer userId;
        private Integer trackStatus;
        private String keyItems;
        private LocalDateTime nextTime;
        private String record;
        private LocalDateTime createTime;
        private String assignName;
    }
}
